<?php
/**
 *
 * @author ninetyseven.
 * @date 2023-04-10 23:29
 */

namespace App\Enum;

class VillagerEnum
{
    public const USER_VILLAGER_TYPE=1;
    public const USER_DRIVER_TYPE=2;
    /**
     * @int 外来人员(不属于平台村民)
     */
    public const FOREIGN = 1;

    public const STATE_WAIT = 0;

    /**
     * @int 已入驻-(村民)
     */
    public const SETTLE_IN = 1;

    /**
     * @int 未入驻-(村民)
     */
    public const SETTLE_OUT = 2;

    /**
     * @int 注销账号
     */
    public const ACCOUNT_STATUS_CANCELLATION = -1;

    /**
     * @int 正常账号
     */
    public const ACCOUNT_STATUS_OK = 1;

    public const STATE_NAME = [
        self::SETTLE_IN => '已入驻',
        self::SETTLE_OUT => '未入驻',
    ];
    public const USER_SOURCE_CMZJ='iwiePVO8TrPQEfmbe7LF';
    public const USER_SOURCE_SELF='self';
    public const USER_SOURCE_NAME = [
        self::USER_SOURCE_CMZJ=>'cmzj',
        self::USER_SOURCE_SELF=>self::USER_SOURCE_SELF,
    ];
}
